package com.donn.securitycontrolplatform.hisalarm.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dahuatech.icc.exception.ClientException;
import com.donn.securitycontrolplatform.common.Result;
import com.donn.securitycontrolplatform.hisalarm.entity.THisAlarm;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhenglx
 * @since 2022-06-26
 */
public interface ITHisAlarmService extends IService<THisAlarm> {

    Result getHisAlarmById(String hisAlarmId);

    Result selectHisAlarmList(THisAlarm hisAlarm, Page page);

    Result deleteHisAlarm(String hisAlarmId);

    Result updateHisAlarm(String hisAlarm);

    Result insertHisAlarm(THisAlarm hisAlarm);

    Result getPage(Page<THisAlarm> page);

    Result getImg(String imgUri) throws ClientException;

    Result getYearData();

    Result getDayData();

    Result getYearDataByViolation();

}
